Engduino Tutorial
In this tutorial, you will make a program that will allow for interaction between TouchDevelop and
the Engduino. This tutorial will assume that you have completed the Conditional Statements and
Iteration Tutorials.
So what is an Engduino?
The Engduino is a small computer that takes both
inputs and gives outputs. For example, we can create
a program for the Engduino so that the lights will
react to the acceleration of the device.
Before we begin, we will require the Engduino
Library.
Click on
Search
everything,
and type in
“Engduino
Library”.
You should find an entry
created by Michal Moskal. Click
on the Edit button. Now you have access to the Engduino Library
Now let’s begin!
Create a new script with a blank
template, and give it a memorable
name.
We installed the Engduino Library, but we now need this program to be able to access it.
Click on the “add new
action, event” button
and then select library
and finally select
Engduino.
We have the library in the program. In order for the program to be able to do anything, the
Engduino must be started.
Type in Engduino then Init into the main
function
Try running the program now by clicking
Run